package cn.tedu.medicalpath.patient.mapper;

import cn.tedu.medicalpath.patient.pojo.entity.Patient;
import cn.tedu.medicalpath.patient.pojo.param.DoctorQuery;
import cn.tedu.medicalpath.patient.pojo.param.PatientQuery;
import cn.tedu.medicalpath.patient.pojo.vo.DoctorDepartmentVO;
import cn.tedu.medicalpath.patient.pojo.vo.DoctorVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PatientMapper {
    Patient selectPatient(PatientQuery patientQuery);

    Integer insert(Patient patient);

    Integer updateById(Patient patient);


    List<DoctorDepartmentVO> selectDepartment();

    List<DoctorVO> selectDoctor(DoctorQuery doctorQuery);
}
